﻿<%@ Page Title="添加产品" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="newCheckinOrder.aspx.cs" Inherits="IMS_WEB.newOrder" %>
<%@ Register assembly="ServerControl" namespace="IMS_WEB.controls" tagprefix="cc1" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

    <style type="text/css">
    .auto-style2 {
        width: 128px;
    }
    #Text9 {
        width: 65px;
    }
    #Text10 {
        width: 89px;
    }
    #Text11 {
        width: 60px;
    }
    #Text12 {
        width: 19px;
    }
    #Text13 {
        width: 35px;
    }
    #Text14 {
        width: 55px;
    }
    #Text15 {
        width: 70px;
    }
    #Text16 {
        width: 71px;
    }
    .auto-style3 {
        width: 128px;
        height: 21px;
    }
    .auto-style4 {
        height: 21px;
    }
    .auto-style5 {
        width: 78px;
    }
        .style1
        {
            width: 721px;
        }
        .style4
        {
            height: 21px;
            text-align: left;
        }
        .style3
        {
            width: 125px;
        }
        #Text17 {
        width: 65px;
    }
        .style5
        {
            height: 21px;
            font-size: large;
            text-align: center;
        }
        .style8
        {}
        .style9
        {
            width: 53px;
        }
        .style10
        {}
        .style11
        {
            width: 620px;
        }
        .style12
        {}
        </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <div>
    
                 <table style="width:100%;">
                     <tr>
                         <td class="style5">
                硕华科贸进货清单
                         </td>
                        
                     </tr>
                    
    </table>
                 <table class="style1">
        <tr>
            <td class="style4">
                    销售单位</td>
            <td class="style3">
               
                <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                </ajaxToolkit:ToolkitScriptManager>
               
                <asp:TextBox ID="tbCompany" runat="server"></asp:TextBox>
              
                <ajaxToolkit:AutoCompleteExtender ID="tbCompany_AutoCompleteExtender" 
                    runat="server" DelimiterCharacters="" Enabled="True" ServicePath="~/WebService.asmx" 
                    TargetControlID="tbCompany" ServiceMethod="GetCompanyList" MinimumPrefixLength="1">
                </ajaxToolkit:AutoCompleteExtender>
              
                <asp:Button ID="btnQueryCompany" runat="server" onclick="btnQueryCompany_Click" 
                    Text="查询" />
              
            </td>
            <td>
                
                定单号：</td>
            <td>
                <asp:TextBox ID="tbOrderID" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                    单位地址</td>
            <td class="style3">
                <asp:TextBox ID="tbAddr" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                日期</td>
            <td>
                <asp:TextBox ID="tbDate" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                    帐号</td>
            <td class="style3">
                <asp:TextBox ID="tbAccount" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                税号</td>
            <td>
                <asp:TextBox ID="tbTaxNumber" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                    电话</td>
            <td class="style3">
                <asp:TextBox ID="tbPhone" runat="server" ReadOnly="True"></asp:TextBox>
            </td>
            <td>
                备注</td>
            <td rowspan="2" valign="middle">
                <asp:TextBox ID="tbRemark" runat="server" CssClass="style12" Height="43px" 
                    MaxLength="256" TextMode="MultiLine" Width="200px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
                收货人</td>
            <td class="style3">
                <asp:TextBox ID="tbRecver" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    
    </div>
    <br />
    标的物明细表<br />
    <asp:Table ID="Table1" runat="server" Height="17px" Width="934px" 
        GridLines="Both" CssClass="style8">
     <asp:TableHeaderRow>
        
        <asp:TableHeaderCell Width="200px">存货编号</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="200px">名称</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">规格</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">单位</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">数量</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">单价</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">无税金额</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">含税金额</asp:TableHeaderCell>
        <asp:TableHeaderCell Width="100px">删除</asp:TableHeaderCell>
        </asp:TableHeaderRow>
    </asp:Table>
<br />
<table style="width: 100%;">
    <tr>
        <td align="left" class="style9">
            <asp:Label ID="labelProduct"  runat="server" Text="商品名称" />
        </td>
        <td align="left" class="style11">
            <asp:TextBox ID="tbProductName" runat="Server" CssClass="style10" Height="26px" 
                Width="213px" />
            <ajaxToolkit:AutoCompleteExtender ID="tbProductName_AutoCompleteExtender" 
                runat="server" DelimiterCharacters="" Enabled="True" 
                ServiceMethod="GetProductList" ServicePath="~/WebService.asmx" 
                TargetControlID="tbProductName" EnableCaching="False" 
                MinimumPrefixLength="2">
            </ajaxToolkit:AutoCompleteExtender>
            <asp:Button ID="btnAddProduct" runat="server" style="width: 78px" Text="添加商品" 
                onclick="btnAddProduct_Click" />
        </td>
        <td align="center">
            <asp:Button ID="btnSave" runat="server" Text="保存" onclick="btnSave_Click" />
        </td>
        <td align="center">
            
            <asp:Button ID="btnSubmit" runat="server" Text="提交" onclick="btnSubmit_Click" />
        </td>
    </tr>
</table>
<br />
</asp:Content>